namespace NAct.Tests.Support
{
	using System;
	using Attributes;

	public class TypeParsing
	{
		[ Given( "the character (?<value>[a-z])" ) ]
		public void GetCharacter( char value ) {}

		[ And( "the single value of (?<value>[0-9]+.[0-9]+)" ) ]
		public void GetSingle( Single value ) {}

		[ And( "the double value of (?<value>[0-9.]+)" ) ]
		public void GetDouble( Double value ) {}

		[ And( "the decimal value of (?<value>[0-9.]+)" ) ]
		public void GetDecimal( Decimal value ) {}

		[ And( "the byte value of (?<value>[0-9]+)" ) ]
		public void GetByte( Byte value ) {}

		[ And( "the sbyte value of (?<value>[0-9]+)" ) ]
		public void GetSbyte( SByte value ) {}

		[ And( "the boolean value of (?<value>true|false)" ) ]
		public void GetBoolean( bool value ) {}

		[ And( "the boolean array of (?<values>(true|false|,)+)" ) ]
		public void GetBooleanArray( bool[] values ) {}

		[ And( "the url (?<value>http://[a-z.]+)" ) ] // Very naive :P
		public void GetUrl( Uri value ) {}
	}
}